package com.quanquan.management.dto.marketActivity.TurnTable;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @ClassName TurnTableRecordDTO
 * @Description
 * @Author Owen
 * @Date 2019/8/30 0030 下午 2:04
 * @Version V1.0
 **/
@Data
public class TurnTableRecordDTO implements Serializable {

    private Long id;

    private Long activityId;

    //1:用户端转盘，2：大屏
    private Integer activityType;

    private String userId;

    private Long giftId;

    //0:未中奖，1：优惠券，2：积分
    private Integer giftType;

    private String couponId;

    private Integer points;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;

    private Integer timeIndex;

    private String userPhone;

    private String couponName;
}
